<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"
     xml:lang="en">
  <head>
    <title>Information Center for ARM</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <link type="text/css" rel="stylesheet" media="all" href="file://$TOOLKIT_DIR$/doc/infocenter/style/ewic.css" />
  </head>
  <body>
  <div id="topbanner"></div>
  <div id="titlebanner_small">
    <h2>Information Center for ARM</h2>
  </div>
  <div class="breadcrumb"><a href="$TOOLKIT_DIR$/doc/infocenter/index.ENU.html">Information Center for ARM</a> | EXAMPLES</div>
  <div class="mainblock">
   <h2>Example description</h2>

   <pre>  <!--Insert readme.txt-->
SSP DMA

Purpose:
	This example uses SSP function in MASTER mode
	with Loop-back mode (MOSI <-> MISO).
	Transfer a number of data byte (in DMA mode for both Tx and Rx channel)
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.
	
Hardware configuration:
	This example tested on IAR LPC-1768-SK
	These jumpers must be configured as following:
		- DBG_E must be closed and PWR_SEL position depending of power source
		
		SSP Connectivity:
		- P0.7 - SCK
	 	- P0.6 - SSEL
	  - P0.8 - MISO
	  - P0.9 - MOSI
		MOSI pin must be connected with MISO pin.
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	None

-----------------------------------------------------------------------------------
SSP Master

Purpose:
	An example of SSP using Polling mode to test the SSP driver.
	This example uses SSP in SPI frame as master to communicate
	with an SSP slave device.
	The master and slave transfer together a number of data byte.
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.
	
Hardware configuration:
	This example tested on IAR LPC-1768-SK
	These jumpers must be configured as following:
		- DBG_E must be closed and PWR_SEL position depending of power source
		
		SSP Connectivity:
		- P0.7 - SCK
	 	- P0.6 - SSEL
	  - P0.8 - MISO
	  - P0.9 - MOSI
		Common ground must be connected together between two board.
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	None
	
-----------------------------------------------------------------------------------
SSP Slave

Purpose:
	An example of SSP using interrupt mode to test the SSP driver.
	This example uses SSP in SPI frame as slave mode to communicate with SSP master
	device.
	The master and slave transfer together a number of data byte.
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.
	
Hardware configuration:
	This example tested on IAR LPC-1768-SK
	These jumpers must be configured as following:
    - DBG_E must be closed and PWR_SEL position depending of power source
		
		SPI Connectivity:
		- P0.7 - SCK
	 	- P0.6 - SSEL
	  - P0.8 - MISO
	  - P0.9 - MOSI
		Common ground must be connected together between two board.
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	None

-----------------------------------------------------------------------------------
SSP CS16SI705 polling mode

Purpose:
	An example of SSP using polling mode to test the SSP driver.
	Using SSP in SPI frame mode as master/8bit on LPC1768 to communicate with
	SC16IS750/760 Demo Board
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.
	
Hardware configuration:
	This example tested on IAR LPC-1768-SK
	These jumpers must be configured as following:
    - DBG_E must be closed and PWR_SEL position depending of power source
		
		SSP Connectivity:
		- P0.7  - SCK
	 	- P1.26 - SSEL  - used as GPIO
	  - P0.8  - MISO
	  - P0.9  - MOSI	  
		Common ground must be connected together between two board.
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	In this case, SSEL pin itself on SSP module should not be selected because
	of difference about /CS pin on SC16IS750 during operation. The /CS pin
	should be pulled low continuously during operation, while SSP operation
	inserts a 'gap' between each data frame transition.
	The SSEL on P1.26 therefore operates as GPIO function.
	
-----------------------------------------------------------------------------------
SSP CS16SI705 interrupt mode

Purpose:
	An example of SSP using interrupt mode to test the SSP driver.
	Using SSP in SPI frame mode as master/8bit on LPC1768 to communicate with
	SC16IS750/760 Demo Board
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.
	
Hardware configuration:
	This example tested on IAR LPC-1768-SK
	These jumpers must be configured as following:
		- DBG_E must be closed and PWR_SEL position depending of power source
		
		SSP Connectivity:
		- P0.7  - SCK
	 	- P1.26 - SSEL  - used as GPIO
	  - P0.8  - MISO
	  - P0.9  - MOSI	  
		Common ground must be connected together between two board.
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	In this case, SSEL pin itself on SSP module should not be selected because
	of difference about /CS pin on SC16IS750 during operation. The /CS pin
	should be pulled low continuously during operation, while SSP operation
	inserts a 'gap' between each data frame transition.
	The SSEL on P1.26 therefore operates as GPIO function.
	  </pre>

  </div>
  </body>
</html>






